<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/tab切换.css"/>
		<style type="text/css">
			*{
				margin: 0;padding: 0;
			}
		</style>
	</head>
	<body>
		<div class="tab-container">
			<ul class="tab-nav">
				<li>新闻</li>
				<li>体育</li>
				<li>财经</li>
				<li>娱乐</li>
				<li>NBA</li>
			</ul>
			<div class="tab-content">
				<div class="tab-item">1</div>
				<div class="tab-item">2</div>
				<div class="tab-item">3</div>
				<div class="tab-item">4</div>
				<div class="tab-item">5</div>
			</div>
		</div>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script src="js/tab切换.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			new TabSwitch(".tab-container",{
				type: "mouseover",
				effect:"slide"
			});
		</script>
	</body>
</html>
